package com.example.locationreport.locationreport.http;


import com.example.locationreport.locationreport.BuildConfig;

public interface Url {

    /**
     * Gis定位终端
     */

    // 接口地址
    String BASE_URL = "http://" + BuildConfig.BaseUrl + ":" + BuildConfig.BasePort;

    // MQTT连接地址
    String MQTT_URL = "tcp://" + BuildConfig.MqttUrl + ":" + BuildConfig.MqttProt;

    // apk更新url请求路径
    String updateApp = BASE_URL + "/system/appUpdate/getLastApp";

    // 根据imei号获取车辆信息接口地址
    String vehicleInfoByImei = BASE_URL + "/vehicle/webApi/getVehicleInfoByImei";

    /**
     * 日志回传
     */

    // 登录接口
    String Login = BuildConfig.LogBaseUrl + "/auth/login" ;

    // 根据设备ID获取设备配置文件
    String get_Config_By_ID = BuildConfig.LogBaseUrl + "/configure/deviceConfig/getByDeviceID/";

    // 根据设备ID上传设备配置文件
    String save_Config_By_ID = BuildConfig.LogBaseUrl + "/configure/deviceConfig/update";

    // 根据设备ID获取是否有日志上传需求
    String get_Command_By_ID = BuildConfig.LogBaseUrl + "/configure/deviceLog/getCommand";

    // 上传日志
    String upload_Command_File = BuildConfig.LogBaseUrl + "/configure/deviceLog/upload";

    // 上传本地调试数据
    String save_App_Log = BuildConfig.LogBaseUrl + "/configure/deviceErrorLog/saveAppLog";
}
